-
-
Couldn't load subscription status.
- Fork 78
Add deterministic option #465
base: master
Are you sure you want to change the base?
Conversation
|
@maleadt Any comments on this? |
|
This seems like a good idea, but I think we could do a slightly different setup:
How does that sound? |
|
@MikeInnes I introduced the global variable for determinism and replaced assertions with warnings when not deterministic. |
|
Looks fine to me, thanks. Would like a thumbs up from @maleadt. |
Co-Authored-By: Mike J Innes <[email protected]>
|
I'm not against the feature, but I worry it will not be maintained and thus the determinism promise won't mean much. At the least needs some tests though, and it might be easier to test if the warning were just an error. |
fc487fd to
fced436
Compare
Sure I will add some tests. |
Some of the commonly used kernels (conv and maxpool) are not deterministic by default. This hurts reproducibility a lot - when fix random seed (e.g. by
seed!(1)) users cannot reproduce the results.I added an option to provide default and check if a mode/algo is deterministic.